package com.example.apidocserver.domain.user.entity;

import com.example.apidocserver.infrastructure.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 用户数据角色表(UsrUserDataRole)实体类
 *
 * @author makejava
 * @since 2023-05-10 23:05:57
 */
@EqualsAndHashCode
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UsrUserDataRole extends BaseEntity {
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 角色id
     */
    private Integer roleId;
    /**
     * 工作空间id
     */
    private Integer spaceId;
    /**
     * 文档id
     */
    private Integer documentId;
}

